package com.scm.biz.dto;

import java.util.Date;
import java.util.List;

import com.scm.biz.bean.SysRole;

public class SysUserDto {
	private Integer id;

    private String email;

    private String name;

    private String password;

    private Integer status;

    private Integer superior;
    
    private String superiorName;

    private String memo;

    private Date createdAt;

    private Date updatedAt;
    
    private List<Integer> roles;
    
    private List<SysRole> roleList;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getSuperior() {
		return superior;
	}

	public void setSuperior(Integer superior) {
		this.superior = superior;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Date getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

	public Date getUpdatedAt() {
		return updatedAt;
	}

	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}

	public String getSuperiorName() {
		return superiorName;
	}

	public void setSuperiorName(String superiorName) {
		this.superiorName = superiorName;
	}

	public List<Integer> getRoles() {
		return roles;
	}

	public void setRoles(List<Integer> roles) {
		this.roles = roles;
	}

	public List<SysRole> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<SysRole> roleList) {
		this.roleList = roleList;
	}

	@Override
	public String toString() {
		return "SysUserDto [id=" + id + ", email=" + email + ", name=" + name + ", password=" + password + ", status="
				+ status + ", superior=" + superior + ", superiorName=" + superiorName + ", memo=" + memo
				+ ", createdAt=" + createdAt + ", updatedAt=" + updatedAt + ", roles=" + roles + "]";
	}
    
    
}
